import Vue from 'vue'
import Router from 'vue-router'
// import HelloWorld from '@/components/HelloWorld'
// import Monitor from '@/view/monitor.vue'
// import Main from '@/view/main.vue'
import Login from '@/view/login'
import Main from '@/view/main'
import UserLogin from '@/view/userLogin'
import QMain from '@/view/qmain.vue'


Vue.use(Router)

export default new Router({
  routes: [

    {
      path: '/Main',
      name: 'Main',
      component: Main
    },
    // {
    //   path: '/',
    //   name: 'HelloWorld',
    //   component: HelloWorld
    // },
    {
      path: '/',
      name: 'Login',
      component: Login
    },
    {
      path: '/qmain',
      name: 'QMain',
      component: QMain
    },
    {
      path: '/userLogin',
      name: 'UserLogin',
      component: UserLogin
    }
  ]
})
